Modifier and Type | Class and Description |
---|---|
static interface |
ArDkLib.EnumeratePdfTocListener |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
mDebugTag |
static int |
SmartOfficeDocErrorType_Aborted |
static int |
SmartOfficeDocErrorType_EmptyDocument |
static int |
SmartOfficeDocErrorType_NoError |
static int |
SmartOfficeDocErrorType_OutOfMemory |
static int |
SmartOfficeDocErrorType_PasswordRequest
A password is required to open this document.
|
static int |
SmartOfficeDocErrorType_UnableToLoadDocument |
static int |
SmartOfficeDocErrorType_UnsupportedDocumentType |
static int |
SmartOfficeDocErrorType_UnsupportedEncryption |
Constructor and Description |
---|
ArDkLib() |
Modifier and Type | Method and Description |
---|---|
static boolean |
clipboardHasText()
find out if the system clipboard has text
|
abstract ArDkBitmap |
createBitmap(int w,
int h) |
static void |
enumeratePdfToc(ArDkDoc doc,
ArDkLib.EnumeratePdfTocListener listener) |
static ConfigOptions |
getAppConfigOptions() |
static SOClipboardHandler |
getClipboardHandler() |
static java.lang.String |
getClipboardText()
get text from the system clipboard
|
static SOSecureFS |
getSecureFS() |
static boolean |
isNightMode(android.content.Context context) |
abstract ArDkDoc |
openDocument(java.lang.String path,
SODocLoadListener listener,
android.content.Context context,
ConfigOptions cfg) |
static void |
putTextToClipboard(java.lang.String text)
copy text to the system clipboard
|
void |
reclaimMemory() |
static void |
runOnUiThread(java.lang.Runnable action)
Function to delay an action until it can be run on the UiThread
|
static void |
setAppConfigOptions(ConfigOptions co) |
static void |
setClipboardHandler(SOClipboardHandler handler) |
static void |
setSecureFS(SOSecureFS fs) |
protected static final java.lang.String mDebugTag
public static final int SmartOfficeDocErrorType_NoError
public static final int SmartOfficeDocErrorType_UnsupportedDocumentType
public static final int SmartOfficeDocErrorType_EmptyDocument
public static final int SmartOfficeDocErrorType_UnableToLoadDocument
public static final int SmartOfficeDocErrorType_UnsupportedEncryption
public static final int SmartOfficeDocErrorType_Aborted
public static final int SmartOfficeDocErrorType_OutOfMemory
public static final int SmartOfficeDocErrorType_PasswordRequest
public abstract ArDkDoc openDocument(java.lang.String path, SODocLoadListener listener, android.content.Context context, ConfigOptions cfg)
public static void enumeratePdfToc(ArDkDoc doc, ArDkLib.EnumeratePdfTocListener listener)
public static void setSecureFS(SOSecureFS fs)
public static SOSecureFS getSecureFS()
public static void setAppConfigOptions(ConfigOptions co)
public static ConfigOptions getAppConfigOptions()
public abstract ArDkBitmap createBitmap(int w, int h)
public static void setClipboardHandler(SOClipboardHandler handler)
public static SOClipboardHandler getClipboardHandler()
public static void putTextToClipboard(java.lang.String text)
public static boolean clipboardHasText()
public static java.lang.String getClipboardText()
public void reclaimMemory()
public static boolean isNightMode(android.content.Context context)
public static final void runOnUiThread(java.lang.Runnable action)
action
- Action to run on the UiThread